Proper fix for shell-completion-execonly.
authorChong Yidong <cyd@gnu.org>
Thu, 5 Jan 2012 14:51:05 +0000 (22:51 +0800)
committerChong Yidong <cyd@gnu.org>
Thu, 5 Jan 2012 14:51:05 +0000 (22:51 +0800)
commitf4bf9a6063628d2a2cb39f5cb74993989079e65b
tree3baf02c7ef3a81f7dc7c3bf44185edfbf627218f
parent87f5fe477fd78486efe51b588af5aedd2c39507a
Proper fix for shell-completion-execonly.

* shell.el (shell-dynamic-complete-functions): Revert last change.
(shell-command-completion-function): New function.
(shell-completion-vars): Use it to implement
shell-completion-execonly.
lisp/ChangeLog
lisp/shell.el